
# 官方设置源的文档
https://yum.postgresql.org/repopackages.php#pg96

# 初始化的时候安装
# rpm -Uvh https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm
# 安装清华的源
rpm -Uvh https://mirrors.tuna.tsinghua.edu.cn/postgresql/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm
curl -s -o /etc/yum.repos.d/pgdg-96-centos.repo https://gitee.com/xbazhen/linux-script-init/raw/master/resources/repos/postgresql/pgdg-96-centos_tuna.repo


# centos7 x86_64 通过
# 其他centos版本和架构未测试


